package com.wolf.service;

import com.wolf.pojo.Wl_banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_bannerService {
    int deleteByPrimaryKey(String id);

    int insert(Wl_banner record);

    int insertSelective(Wl_banner record);

    Wl_banner selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_banner record);

    int updateByPrimaryKey(Wl_banner record);

    /**
     * 查询所有
     * @return
     */
    List<Wl_banner> getAll();

    List<Wl_banner> getSelective(@Param("channel")Integer channel, @Param("status") Integer status, @Param("bannername") String bannername, @Param("starttime") String starttime, @Param("endtime") String endtime);
}